package com.chenxiao.datasource.mainsource.service.Impl;

import com.chenxiao.datasource.mainsource.entity.User;
import com.chenxiao.datasource.mainsource.mapper.UserMapper;
import com.chenxiao.datasource.mainsource.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: CX
 * @Date: Created in  2023/12/06 22:08
 * @version: v1.0
 * @Description: TODO
 **/
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public User selectByPrimaryKey(Long id) {
        return userMapper.selectByPrimaryKey(id);
    }
}
